﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UCL.Powersource.TFS;

namespace UCL.Powersource.Mock
{
    public class DummyTeamFoundationServerExt : ITeamFoundationServerExt
    {
        private DummyProjectContextExt _DummyProjectContext;

        public DummyProjectContextExt DummyProjectContext
        {
            get { return _DummyProjectContext; }
            set
            {
                _DummyProjectContext = value;
                if (ProjectContextChanged != null) ProjectContextChanged(this, EventArgs.Empty);
            }
        }

        public IProjectContextExt ActiveProjectContext
        {
            get
            {
                return _DummyProjectContext;
            }
        }

        public event EventHandler ProjectContextChanged;
    }
}
